/**
 * related to repairRecDetail.ui
 * 
 * @Author : weixy
 * @Timestamp : 2017-05-15
 */
var Controller = require("core/controller");
var net = require('util/net')
var log = require("util/log")
Controller({
	config:{
		header:{
			title:"修复申请详情"
		}
	},
	mapping:{
		"state.text" :"detail.reapAppstatu",
		"updateTime.text" : "detail.createTime",
		"repaircontent.text" :"detail.reapRemark" ,
		"caseNumber.text" :"detail.reapOrdernum",
		"userName.text" :"detail.reapCust" ,
	},
	data:{
		detail:{
			reapAppstatu:"",
			createTime:"",
			reapRemark:"",
			reapOrdernum:"",
			reapCust:""
		}
	},
	methods:{
		
	},
	loaded:function(data){
		log.info("33333")
		this.data.detail.reapAppstatu=data.detail.reapAppstatu
		this.data.detail.createTime=data.detail.createTime
		this.data.detail.reapRemark=data.detail.reapRemark
		this.data.detail.reapOrdernum=data.detail.reapOrdernum
		this.data.detail.reapCust=data.detail.reapCust
		log.info(this.data.detail)
		this.refresh("$")
	}
})